package it.polimi.entitiesDTO;

import java.util.Date;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

public class PersonalizedPacketDTO {
	
	@NotNull
	private int packet;
	
	@NotEmpty
	private String city;
	
	@NotNull
	private boolean confirmed;
	
	@NotEmpty
	private String description;

	@NotNull
	private Date end;
	
	@NotNull
	private int partecipants;
	
	@NotNull
	private int price;
	
	@NotNull
	private int spots;

	@NotNull
	private Date start;
	
	@NotNull
	private Date departure;
	
	@NotNull
	private Date return_;
	
	@NotNull
	private int hotel;
	
	@NotEmpty
	private String user1;
	
	@NotEmpty
	private String user2;

	public int getPacket() {
		return packet;
	}

	public void setPacket(int packet) {
		this.packet = packet;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public boolean isConfirmed() {
		return confirmed;
	}

	public void setConfirmed(boolean confirmed) {
		this.confirmed = confirmed;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getEnd() {
		return end;
	}

	public void setEnd(Date end) {
		this.end = end;
	}

	public int getPartecipants() {
		return partecipants;
	}

	public void setPartecipants(int partecipants) {
		this.partecipants = partecipants;
	}

	public Date getDeparture() {
		return departure;
	}

	public void setDeparture(Date departure) {
		this.departure = departure;
	}

	public Date getReturn_() {
		return return_;
	}

	public void setReturn_(Date return_) {
		this.return_ = return_;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public int getSpots() {
		return spots;
	}

	public void setSpots(int spots) {
		this.spots = spots;
	}

	public Date getStart() {
		return start;
	}

	public void setStart(Date start) {
		this.start = start;
	}

	public int getHotel() {
		return hotel;
	}

	public void setHotel(int hotel) {
		this.hotel = hotel;
	}

	public String getUser1() {
		return user1;
	}

	public void setUser1(String user1) {
		this.user1 = user1;
	}

	public String getUser2() {
		return user2;
	}

	public void setUser2(String user2) {
		this.user2 = user2;
	}
	
}
